import { View, Text } from '@tarojs/components'
import './index.less'

interface Props {
  text: string
  color: string
}

export default function CircleText({ text, color }: Props) {
  return (
    <View className='circleText' style={{ background: color }}>
      <Text>{text}</Text>
    </View>
  )
}
